package org.pearl.spring.demo.controller;

import org.pearl.spring.demo.service.TestService;
import org.pearl.spring.demo.spel.Haha;
import org.pearl.spring.demo.spel.Security.PreAuthorize;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.expression.ExpressionParser;
import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.expression.spel.support.StandardEvaluationContext;
import org.springframework.util.Assert;

import java.lang.reflect.Method;

/**
 * Created by TD on 2021/5/20
 */
public class TestController {


    public void test() throws NoSuchMethodException {
        TestService testService=new TestService();
        testService.test();
    }
}
